package com.engine.downcustomfile.web;

import com.engine.downcustomfile.uitil.GenerateWordDocument;
import weaver.general.BaseBean;
import weaver.interfaces.workflow.action.Action;
import weaver.soa.workflow.request.RequestInfo;
import weaver.workflow.request.RequestManager;

public class SaveCustomFileAction extends BaseBean implements Action {
    @Override
    public String execute(RequestInfo requestInfo) {
        new BaseBean().writeLog("--------------SaveCustomFileAction----Start----------------");
        String requestid = requestInfo.getRequestid();
        GenerateWordDocument.createDocByRequestId(requestid);
        new BaseBean().writeLog("--------------SaveCustomFileAction----End----------------");

        return SUCCESS;
    }
}
